#!/bin/tcsh
if (-e $1) then
  set tmpfile = .hoge
  setenv LC_ALL C
  set d = `/bin/date`
  set h = `/usr/bin/uname -n`
  sed "s/BUILD_TIME.*/BUILD_TIME=\'$d\'/" $1 > $tmpfile
  sed "s/HOST_NAME.*/HOST_NAME=\'$h\'/" $tmpfile > $1
  rm -f $tmpfile
else
  exit 1
endif
